<?php
require_once("DButil.php");
$data=$_REQUEST["courseId"];
$sql="update t_course set status=1 where courseId={$data}" ;
$arr=update($sql);
header("Content-Type:application/json;charset=utf-8");
echo json_encode($data);
?>